package com.lcg.weixin.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author: LCG
 * @Date: 2021-11-07 15:31:59
 * @description:
 **/
@Controller
public class OpenUrlCOntroller {

    @RequestMapping("url")
    public String toUrl(){
        System.out.println("=======================");
      return "url";
    }


    @RequestMapping("guanzhu")
    public String guanzhu(@RequestBody Map<String,String> map){

        System.out.println(map);

        return "success";
    }

}
